func go/types.isBasic
12 uses
go/types (current package)
predicates.go#L15: func isBoolean(t Type) bool { return isBasic(t, IsBoolean) }
predicates.go#L16: func isInteger(t Type) bool { return isBasic(t, IsInteger) }
predicates.go#L17: func isUnsigned(t Type) bool { return isBasic(t, IsUnsigned) }
predicates.go#L18: func isFloat(t Type) bool { return isBasic(t, IsFloat) }
predicates.go#L19: func isComplex(t Type) bool { return isBasic(t, IsComplex) }
predicates.go#L20: func isNumeric(t Type) bool { return isBasic(t, IsNumeric) }
predicates.go#L21: func isString(t Type) bool { return isBasic(t, IsString) }
predicates.go#L22: func isIntegerOrFloat(t Type) bool { return isBasic(t, IsInteger|IsFloat) }
predicates.go#L23: func isConstType(t Type) bool { return isBasic(t, IsConstType) }
predicates.go#L28: func isBasic(t Type, info BasicInfo) bool {
predicates.go#L53: return tpar.is(func(t *term) bool { return t != nil && isBasic(t.typ, info) })
predicates.go#L55: return isBasic(t, info)